package com.example.block_chain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.block_chain.domain.pojo.Admin;
import com.example.block_chain.domain.pojo.Class;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ClassMapper extends BaseMapper<Class> {
    @Select("select * from class")
    public List<Class> selectAll();
}
